#include "../source/server.hpp"

int main()
{
    Socket cli_sock;
    cli_sock.CreateClient(6666, "127.0.0.1");
    while (1)
    {
        std::string str = "hello world!";
        cli_sock.Send(str.c_str(), str.size());
        char buff[1024] = {0};
        cli_sock.Recv(buff, 1023);
        LOG(DEBUG, "%s", buff);
        sleep(1);
    }
    return 0;
}